<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <f:view>
        <ui:composition template="./WEB-INF/faces/newTemplate.xhtml">
            <ui:param name="title_text" value="Login" />
            <ui:param name ="headText" value ="Login" />
            <ui:define name="content">
                <h:form>
                    <table id ="loginInput">
                        <tr>
                            <td><h:outputText value="Enter Login ID: " /></td>
                            <td><h:inputText id="loginname" 
                                             value="#{userSessionBean.loginname}" />
                            </td>
                        </tr>
                        <tr>
                            <td><h:outputText value="Enter Password: " /></td>
                            <td><h:inputSecret id="password" 
                                               value="#{userSessionBean.password}" />
                            </td>
                        </tr>
                        <tr>
                            <td> </td>
                            <td><h:commandButton value="Login" 
                                                 action="#{userSessionBean.CheckValidUser}"/>
                            </td>
                        </tr>
                    </table>
                </h:form>
            </ui:define>
        </ui:composition>0
    </f:view>
0</html>